package com.stageadminserver.adminserver.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.stagecommon.common.pojo.DemandFormat;

/**
 * @author: yxl
 * @since: 2022-04-24
 **/

public interface DemandFormatMapper extends BaseMapper<DemandFormat> {

    /**
     * ��ҳ��ȡ�����ʽ
     * @param page
     * @param name
     * @return
     */
    IPage<DemandFormat> selectFormatByPage(Page<DemandFormat> page, String name);

    /**
     * ���������ʽid��ȡ�����ʽ
     * @param demandFormatId
     * @return
     */
    DemandFormat selectFormatById(Integer demandFormatId);
}
